package com.zsl.model;


/**
 * 订单总表
 * 哪个用户生成的订单信息
 */
public class OrderInfo {
    private String id;      //请求信息id
    private String orderId; //请求号
    private Integer num;            //请求数量（里面有多少条书本请求信息
    private Float price;            //总价
    private String status;      //请求状态
    private String user_id;     //所请求用户号
    private String generate_user_name;  //生成用户名
    private String is_deleted;  //是否删除

    public OrderInfo() {
    }

    public OrderInfo(String id, String orderId, Integer num, Float price, String status, String user_id) {
        this.id = id;
        this.orderId = orderId;
        this.num = num;
        this.price = price;
        this.status = status;
        this.user_id = user_id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getGenerate_user_name() {
        return generate_user_name;
    }

    public void setGenerate_user_name(String generate_user_name) {
        this.generate_user_name = generate_user_name;
    }

    public String getIs_deleted() {
        return is_deleted;
    }

    public void setIs_deleted(String is_deleted) {
        this.is_deleted = is_deleted;
    }

    @Override
    public String toString() {
        return "OrderInfo{" +
                "id='" + id + '\'' +
                ", orderId='" + orderId + '\'' +
                ", num=" + num +
                ", price=" + price +
                ", status='" + status + '\'' +
                ", user_id='" + user_id + '\'' +
                ", generate_user_name='" + generate_user_name + '\'' +
                ", is_deleted='" + is_deleted + '\'' +
                '}';
    }
}
